/**
 * Created by luzd on 17/4/19.
 */
const express = require('express');
const compression = require('compression');
const app = express();
app.use(compression());
app.use(express.static('haogujia'));

const port = 3000;
app.listen(port, function () {
    console.log('server is listening on port %s', port);
});